
package com.project.projectA.util;

import org.hibernate.cfg.Configuration;
import org.hibernate.tool.hbm2ddl.SchemaUpdate;

/**
 * The Class HibernateEntityTODDLMate.
 *
 * @author wuwei
 */
public class HibernateEntityTODDLMate {

	/**
	 * The main method.
	 *
	 * @param args the arguments
	 */
	public static void main(String[] args) {
		Configuration configuration = new Configuration();
		configuration.configure();
		SchemaUpdate schemaUpdate = new SchemaUpdate(configuration);
		schemaUpdate.execute(false, true);
	}
}
